]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
8 years agost-entry: Set text-related CSS properties on the internal ClutterText
Mario Sanchez Prada [Mon, 26 Mar 2018 11:38:57 +0000 (12:38 +0100)]
st-entry: Set text-related CSS properties on the internal ClutterText

Call _st_set_text_from_style() when updating the entry's style, so
that CSS style properties such as text-decoration or letter-spacing
are applied over the internal ClutterText instance.

8 years agost-private: Add support for letter-spacing in ClutterText based StWidgets
Mario Sanchez Prada [Fri, 23 Mar 2018 21:11:52 +0000 (21:11 +0000)]
st-private: Add support for letter-spacing in ClutterText based StWidgets

Add support in _st_set_text_from_style(), so that this CSS property can
be used from any StWidget holding an internal ClutterText.

8 years agost-theme-node: Add new getter st_theme_node_get_letter_spacing
Mario Sanchez Prada [Fri, 13 Apr 2018 11:56:18 +0000 (12:56 +0100)]
st-theme-node: Add new getter st_theme_node_get_letter_spacing

This will be used by ClutterText-backed StWidgets to update their
list of PangoAttributes according to the letter-spacing property.

8 years agoui: Theme lookup should respect XDG_DATA_DIRS
Didier Roche [Fri, 30 Mar 2018 07:44:14 +0000 (09:44 +0200)]
ui: Theme lookup should respect XDG_DATA_DIRS

Modes, extensions and other GNOME Shell assets are searched in appropriate
subdirectories of each directory in XDG_DATA_DIRS, falling back
to global.datadir.
However, this isn't the case for themes, which are currently always expected
in global.datadir, even when referenced by a mode in a different XDG_DATA_DIR.

The fix is to have the theme finding pattern follow the same logic as other
elements.
Fixes #167.

8 years agoUpdate Croatian translation
gogo [Mon, 16 Apr 2018 12:31:09 +0000 (12:31 +0000)]
Update Croatian translation

8 years agopopupMenu: Fix wrong call to clutter_actor_add_child()
Mario Sanchez Prada [Mon, 16 Apr 2018 10:47:57 +0000 (11:47 +0100)]
popupMenu: Fix wrong call to clutter_actor_add_child()

Specify the horizontal alignment via the x_align property when creating
the StIcon, since this function expects one argument, not two.

8 years agoremoteMenu: Support icons in app-menu
Florian Müllner [Fri, 22 Jan 2016 14:11:05 +0000 (15:11 +0100)]
remoteMenu: Support icons in app-menu

The HIG discourages the use of icons in menus except for "noun" items
(files, bookmarks, ...). While those should be rarely used in the
application menu, it still makes sense to support them in the few
cases where they are used.

https://bugzilla.gnome.org/show_bug.cgi?id=760985

8 years agoworkspaceThumbnail: initialize porthole based on workArea
Marco Trevisan (Treviño) [Fri, 19 Jan 2018 16:37:20 +0000 (17:37 +0100)]
workspaceThumbnail: initialize porthole based on workArea

https://bugzilla.gnome.org/show_bug.cgi?id=792687

8 years agoworkspaceThumbnail: rebuild thumbnails if workareas size changed
Marco Trevisan (Treviño) [Fri, 19 Jan 2018 15:39:13 +0000 (16:39 +0100)]
workspaceThumbnail: rebuild thumbnails if workareas size changed

https://bugzilla.gnome.org/show_bug.cgi?id=792687

8 years agoworkspaceThumbnail: only update _porthole if the overview is visible
Marco Trevisan (Treviño) [Fri, 19 Jan 2018 15:31:01 +0000 (16:31 +0100)]
workspaceThumbnail: only update _porthole if the overview is visible

Otherwise it happens that porthole is computed again after that the
overlay is hidden (triggered by a layout reallocation) and thus not
regenerated again afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=792687

8 years agothunderbolt: capitalize Thunderbolt in a translatable string
Piotr Drąg [Fri, 13 Apr 2018 19:52:32 +0000 (21:52 +0200)]
thunderbolt: capitalize Thunderbolt in a translatable string

8 years agoBump version to 3.28.1
Florian Müllner [Fri, 13 Apr 2018 18:11:39 +0000 (20:11 +0200)]
Bump version to 3.28.1

Update NEWS.

8 years agoutils: Simplify URL regex to only support one layer of parentheses
Florian Müllner [Tue, 27 Feb 2018 12:20:02 +0000 (13:20 +0100)]
utils: Simplify URL regex to only support one layer of parentheses

The author of the original URL-matching regex warns[0] that the pattern may
cause certain regex engines to lock up with certain input, namely patterns
that contain parentheses. It turns out SpiderMonkey is affected, but rather
than switching to the author's improved version (that is still crazy), sim-
plify the pattern a bit by removing support for nested parentheses in URLs.
Even a single pair of parentheses is extremely rare, so this is unlikely to
make a noticeable difference (other than not locking up SpiderMonkey of
course) ...

[0] http://daringfireball.net/2010/07/improved_regex_for_matching_urls

8 years agopolkitAgent: Hide authentication dialogs while locked
Florian Müllner [Thu, 12 Apr 2018 17:25:37 +0000 (19:25 +0200)]
polkitAgent: Hide authentication dialogs while locked

Since commit 78a92fb6be we no longer pop up authentication dialogs
on the lock screen, however any dialog that is already open at that
time remains open. This is unexpected, so hide the dialog until
the screen is unlocked again.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/166

8 years agoworkspace: Don't move focus unconditionally
Florian Müllner [Mon, 9 Oct 2017 22:04:56 +0000 (00:04 +0200)]
workspace: Don't move focus unconditionally

Since commit 1939e22c22c, we move the keyboard focus with the hover
highlight. However while this makes sense when interacting with
the window picker, it interferes with keyboard navigation of other
components like dash or top bar. Address this by only moving the
focus when the previous focus was already inside the window picker
or unset.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/50

8 years agonetworkAgent: Use libnm for plugin loading
Florian Müllner [Thu, 3 Nov 2016 14:25:49 +0000 (15:25 +0100)]
networkAgent: Use libnm for plugin loading

After the networking code has been ported to libnm, we can use its
API for loading VPN plugins instead of rolling our own ...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/39

8 years agoworldClock: Handle named timezones
Florian Müllner [Sun, 25 Mar 2018 16:39:37 +0000 (18:39 +0200)]
worldClock: Handle named timezones

The original UTC support in GWeather piggy-backed on the existing API, but
as "country" or "city" don't make sense in the context of UTC or AoE, the
concept of "named timezones" was introduced. Handle those explicitly to get
back labels for those locations.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/150

8 years agooverview: Use monotonic time to check for consecutive activations
Florian Müllner [Mon, 15 Jan 2018 14:36:44 +0000 (15:36 +0100)]
overview: Use monotonic time to check for consecutive activations

We don't toggle the overview if the request happens too close to the
last activation, to filter out double-clicks or activation by both
the hot corner and a click. However as the check is based on the
real time, the check breaks if the system clock moves backwards and
the last activations appears to be in the future. Fix this by using
monotonic time which is guaranteed to only move forward.

https://bugzilla.gnome.org/show_bug.cgi?id=763886

8 years agoUpdate Russian translation
Stas Solovey [Thu, 12 Apr 2018 13:58:31 +0000 (13:58 +0000)]
Update Russian translation

8 years agoUpdate Russian translation
Stas Solovey [Thu, 12 Apr 2018 11:47:00 +0000 (11:47 +0000)]
Update Russian translation

8 years agost: Do not force allocation updates during shadow creation
Florian Müllner [Fri, 23 Feb 2018 16:29:54 +0000 (17:29 +0100)]
st: Do not force allocation updates during shadow creation

If an actor is pending a relayout when get_allocation_box() is called,
the method forces an allocation update. In case of StWidget, this might
then result in a style update and a consecutive invalidation of the
shadow spec.

A helper method that invalidates one of its parameters as a side effect
(and by extension its return value as well) is most unexpected, so cur-
rently _st_create_shadow_pipeline_from_actor() poses an easy trap to
callers to run into.

Remove that trap by calling get_size()/get_position() instead, which
don't have the unintended side effect - it is still a good idea to fix
callers who were running into this to not waste resources on creating
shadows that are invalidated before the next paint, but throwing un-
defined behavior at them is harsh ...

https://bugzilla.gnome.org/show_bug.cgi?id=788908

8 years agoappFavorites: Add evolution to rename list
Bastien Nocera [Tue, 10 Apr 2018 14:38:26 +0000 (14:38 +0000)]
appFavorites: Add evolution to rename list

Evolution 3.28 changed the desktop filename. Without this patch,
evolution will disappear from the dock.

8 years agobuild: Run postinstall script where necessary
Florian Müllner [Sun, 18 Mar 2018 21:07:32 +0000 (22:07 +0100)]
build: Run postinstall script where necessary

Package managers usually take care of compiling GSettings schemas and
updating the .desktop database on installation, but when building
manually from source, we should perform the aforementioned actions
ourselves.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/127

8 years agopolkitAgent: Queue authentication requests while locked
Florian Müllner [Fri, 6 Apr 2018 17:54:27 +0000 (19:54 +0200)]
polkitAgent: Queue authentication requests while locked

While polkit requests *should* be the result of a user action, that's
not always the case in practice and authentication dialogs can pop up
out of nowhere at any time. That's always annoying, but particularly
bad on the lock screen. If we disabled the polkit component altogether,
the fallback GTK-based agent would kick in, so instead handle the case
explicitly and postpone showing the dialog until the session is unlocked.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/179

8 years agoappFavorites: Rename gnome-tweaks.desktop
Jeremy Bicha [Fri, 6 Apr 2018 02:06:15 +0000 (22:06 -0400)]
appFavorites: Rename gnome-tweaks.desktop

8 years agosystem: Align submenu labels with parent - adjust for deeper hierarchies
Andy Holmes [Mon, 2 Apr 2018 21:54:43 +0000 (14:54 -0700)]
system: Align submenu labels with parent - adjust for deeper hierarchies

Adjust the previous commit which applied the alignment to :first-child
descendants, instead of only immediate children. This fixes alignment
issues for a number of Shell extensions by making it easier to override
with a .popup-menu-item style-subclass.

8 years agoUpdate French translation
Guillaume Bernard [Tue, 27 Mar 2018 12:26:10 +0000 (12:26 +0000)]
Update French translation

8 years agoUpdate Arabic translation
Khaled Hosny [Sun, 25 Mar 2018 20:16:13 +0000 (22:16 +0200)]
Update Arabic translation

8 years agoUpdate Dutch translation
Hannie Dumoleyn [Fri, 23 Mar 2018 09:12:25 +0000 (09:12 +0000)]
Update Dutch translation

8 years agomodalDialog: Remove some unused code
Florian Müllner [Fri, 2 Mar 2018 23:31:00 +0000 (00:31 +0100)]
modalDialog: Remove some unused code

No need to figure out an x_alignment variable that hasn't been used
since commit 0722c06275a3d ...

8 years agoAdded Slovenian translation
Matej Urbančič [Tue, 20 Mar 2018 21:37:08 +0000 (22:37 +0100)]
Added Slovenian translation

8 years agoUpdate zh_CN translation
Dz Chen [Tue, 20 Mar 2018 09:03:11 +0000 (17:03 +0800)]
Update zh_CN translation

8 years agobuild: Bump required glib version
Jeremy Bicha [Mon, 19 Mar 2018 20:44:41 +0000 (16:44 -0400)]
build: Bump required glib version

Required by 723c49a8

Thanks Marcus Lundblad for identifying this issue.

8 years agoUpdate Dutch translation
Nathan Follens [Sun, 18 Mar 2018 10:35:18 +0000 (10:35 +0000)]
Update Dutch translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 16 Mar 2018 22:42:50 +0000 (22:42 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Slovak translation
Dušan Kazik [Fri, 16 Mar 2018 21:34:03 +0000 (21:34 +0000)]
Update Slovak translation

8 years agoUpdate Romanian translation
Daniel Șerbănescu [Thu, 15 Mar 2018 18:37:20 +0000 (18:37 +0000)]
Update Romanian translation

8 years agoinputMethod: Pass all key events through the current IM method
Carlos Garnacho [Thu, 15 Mar 2018 13:01:51 +0000 (14:01 +0100)]
inputMethod: Pass all key events through the current IM method

Even though we are using an "xkb" source, it still makes sense to
pass the event through the IBus simple engine, in order to let it
handle compose keys and ctrl+shift+[u|e].

https://gitlab.gnome.org/GNOME/gnome-shell/issues/115

Closes: #115
8 years agoUpdate Russian translation
Stas Solovey [Wed, 14 Mar 2018 19:59:53 +0000 (19:59 +0000)]
Update Russian translation

8 years agoshellEntry: Use correct enum for input purpose hints
Carlos Garnacho [Tue, 13 Mar 2018 14:22:15 +0000 (15:22 +0100)]
shellEntry: Use correct enum for input purpose hints

This was mistakenly left using the GTK+ counterparts. Luckily the enums
are binary compatible, but oops.

8 years agoshell-global: Do not deal with allocated strings as const char
Carlos Garnacho [Tue, 27 Feb 2018 13:20:47 +0000 (14:20 +0100)]
shell-global: Do not deal with allocated strings as const char

The imagedir and userdatadir variables are not fetched from
constants/environment but created with g_strdup*/g_build*. Acknowledge that
and also free the strings in finalize.

8 years agoBump version to 3.28.0
Florian Müllner [Mon, 5 Mar 2018 22:48:04 +0000 (23:48 +0100)]
Bump version to 3.28.0

Update NEWS.

8 years agoUpdate Hungarian translation
Balázs Úr [Mon, 12 Mar 2018 06:02:34 +0000 (06:02 +0000)]
Update Hungarian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Sun, 11 Mar 2018 20:36:26 +0000 (20:36 +0000)]
Update Swedish translation

8 years agoUpdate Catalan translation
Jordi Mas [Sat, 10 Mar 2018 20:30:17 +0000 (21:30 +0100)]
Update Catalan translation

8 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 10 Mar 2018 12:31:16 +0000 (12:31 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate Croatian translation
gogo [Wed, 7 Mar 2018 21:47:09 +0000 (21:47 +0000)]
Update Croatian translation

8 years agoUpdate Punjabi translation
A S Alam [Wed, 7 Mar 2018 11:57:04 +0000 (11:57 +0000)]
Update Punjabi translation

8 years agoBump version to 3.27.92
Florian Müllner [Mon, 5 Mar 2018 22:29:38 +0000 (23:29 +0100)]
Bump version to 3.27.92

Update NEWS.

8 years agothunderbolt: honor boltd's AuthMode property
Christian Kellner [Mon, 5 Mar 2018 20:05:32 +0000 (21:05 +0100)]
thunderbolt: honor boltd's AuthMode property

boltd 0.2 gained a property that indicates if it is authorizing
devices or not. If it indeed is not authorizing then we wont
try to enroll new devices because that would otherwise lead to
and error.

8 years agothunderbolt: adapt to bolt 0.2 interface changes
Christian Kellner [Mon, 5 Mar 2018 20:03:20 +0000 (21:03 +0100)]
thunderbolt: adapt to bolt 0.2 interface changes

All enums are now strings on the bus. Also the Device.Security
property is gnome. Some new properties got added instead.

8 years agoviewSelector: Don't mark synth event as in capture phase
Florian Müllner [Tue, 27 Feb 2018 22:34:09 +0000 (23:34 +0100)]
viewSelector: Don't mark synth event as in capture phase

When we move keyboard focus to the search entry, we replay the key press
that triggered the move to the entry using ClutterActor's event() method.
Since commit 3b293e91e we specify that the event is in the capture phase
to make it work with StIMText, but now that commit 83accce24 removed it,
we have to return to the expected non-capture flag that matches the orig-
inal event to unbreak find-as-you-type functionality.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/72

8 years agoviewSelector: Don't duplicate find-as-you-type in captured-event
Florian Müllner [Tue, 27 Feb 2018 17:52:35 +0000 (18:52 +0100)]
viewSelector: Don't duplicate find-as-you-type in captured-event

Find-as-you type was never automatically handled by StIMText, but
by the existing stage key-press handler. The functionality broke
for a different reason, we will fix it after reverting the recent
captured-event changes.

This reverts commits bc4462cd0c1abb9 and e4ee944d8d6.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/72

8 years agoUpdated Danish translation
Alan Mortensen [Mon, 5 Mar 2018 14:55:14 +0000 (15:55 +0100)]
Updated Danish translation

8 years agoUpdate Russian translation
Stas Solovey [Mon, 5 Mar 2018 12:46:50 +0000 (12:46 +0000)]
Update Russian translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 4 Mar 2018 18:09:02 +0000 (18:09 +0000)]
Update Latvian translation

8 years agoUpdate French translation
Alain Lojewski [Sat, 3 Mar 2018 10:21:59 +0000 (10:21 +0000)]
Update French translation

8 years agomessageList: Fix invisible close buttons still working
Florian Müllner [Fri, 23 Feb 2018 09:27:07 +0000 (10:27 +0100)]
messageList: Fix invisible close buttons still working

Since commit c4f2bb5f, close buttons are hidden by making them fully
transparent rather than setting their visibility to false to keep
the overall message layout stable. As a result, the buttons now work
even when invisible, which is clearly unexpected - fix this by updating
the reactive property appropriately.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/66

8 years agomenutracker: Fix a small memory leak
Florian Müllner [Mon, 26 Feb 2018 18:21:56 +0000 (19:21 +0100)]
menutracker: Fix a small memory leak

https://gitlab.gnome.org/GNOME/gnome-shell/issues/64

8 years agoUpdated Lithuanian translation
Aurimas Černius [Wed, 28 Feb 2018 21:40:44 +0000 (23:40 +0200)]
Updated Lithuanian translation

8 years agoUpdate Dutch translation
GNOME Translation Robot [Mon, 26 Feb 2018 21:31:44 +0000 (21:31 +0000)]
Update Dutch translation

8 years agoUpdated Czech translation
Marek Cernocky [Mon, 26 Feb 2018 17:05:31 +0000 (18:05 +0100)]
Updated Czech translation

8 years agoUpdated Czech translation
Marek Cernocky [Mon, 26 Feb 2018 17:00:00 +0000 (18:00 +0100)]
Updated Czech translation

8 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Mon, 26 Feb 2018 12:55:58 +0000 (12:55 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit 4d598b32949a23bc6120ff544ec7aec5117b0bb5)

8 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Mon, 26 Feb 2018 12:49:37 +0000 (12:49 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit e1b9babac57743bc1d5b745678cc04d7c79e1c71)

8 years agoUpdate Italian translation
Milo Casagrande [Mon, 26 Feb 2018 08:09:42 +0000 (08:09 +0000)]
Update Italian translation

8 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Mon, 26 Feb 2018 00:30:59 +0000 (07:30 +0700)]
Updated Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
8 years agoUpdate Hungarian translation
Balázs Úr [Sun, 25 Feb 2018 19:54:54 +0000 (19:54 +0000)]
Update Hungarian translation

8 years agoUpdate Turkish translation
Furkan Ahmet Kara [Sun, 25 Feb 2018 15:49:46 +0000 (15:49 +0000)]
Update Turkish translation

8 years agoUpdate Korean translation
Changwoo Ryu [Sun, 25 Feb 2018 14:48:41 +0000 (14:48 +0000)]
Update Korean translation

8 years agoUpdate Slovak translation
Dušan Kazik [Sat, 24 Feb 2018 17:09:59 +0000 (17:09 +0000)]
Update Slovak translation

8 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Sat, 24 Feb 2018 13:18:53 +0000 (13:18 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate German translation
Wolfgang Stöggl [Fri, 23 Feb 2018 15:06:44 +0000 (15:06 +0000)]
Update German translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Fri, 23 Feb 2018 07:27:14 +0000 (07:27 +0000)]
Update Spanish translation

8 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 21 Feb 2018 16:58:07 +0000 (17:58 +0100)]
Updated Spanish translation

8 years agobuild: Bump mutter API version
Jonas Ådahl [Wed, 21 Feb 2018 15:43:18 +0000 (23:43 +0800)]
build: Bump mutter API version

The API number was updated, let's keep up.

8 years agoBump version to 3.27.91
Florian Müllner [Wed, 21 Feb 2018 16:46:08 +0000 (17:46 +0100)]
Bump version to 3.27.91

Update NEWS.

8 years agoRevert "build: Bump mutter API version"
Florian Müllner [Wed, 21 Feb 2018 16:54:06 +0000 (17:54 +0100)]
Revert "build: Bump mutter API version"

Mutter only bumped the API version after 3.27.91 was released, so
don't require it for gnome-shell's 3.27.91 release.

8 years agobuild: Bump mutter API version
Jonas Ådahl [Wed, 21 Feb 2018 15:43:18 +0000 (23:43 +0800)]
build: Bump mutter API version

The API number was updated, let's keep up.

8 years agocleanup: Use Function.prototype.bind()
Florian Müllner [Sat, 2 Dec 2017 00:27:35 +0000 (01:27 +0100)]
cleanup: Use Function.prototype.bind()

When not using arrow notation with anonymous functions, we use Lang.bind()
to bind `this` to named callbacks. However since ES5, this functionality
is already provided by Function.prototype.bind() - in fact, Lang.bind()
itself uses it when no extra arguments are specified. Just use the built-in
function directly where possible, and use arrow notation in the few places
where we pass additional arguments.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23

8 years agocleanup: Use arrow notation for anonymous functions
Florian Müllner [Tue, 31 Oct 2017 00:38:18 +0000 (01:38 +0100)]
cleanup: Use arrow notation for anonymous functions

Arrow notation is great, use it consistently through-out the code base
to bind `this` to anonymous functions, replacing the more overbose
Lang.bind(this, function() {}).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23

8 years agocleanup: Use method syntax
Florian Müllner [Tue, 31 Oct 2017 00:03:21 +0000 (01:03 +0100)]
cleanup: Use method syntax

Modern javascript has a short-hand for function properties, embrace
it for better readability and to prepare for an eventual port to
ES6 classes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23

8 years agotests: Set calendar event source
Florian Müllner [Wed, 21 Feb 2018 13:03:18 +0000 (14:03 +0100)]
tests: Set calendar event source

Ever since commit e9e30138bd6 (2011!), the calendar only initialized
the header at construction time. Set an event source to trigger an
update of the content area, which is what the test is mainly intended
for.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Fix import error in calendar
Florian Müllner [Wed, 21 Feb 2018 11:28:20 +0000 (12:28 +0100)]
tests: Fix import error in calendar

The Calendar module requires C_ at import time, which is only
available after Environment.init() has been called.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Fix a warning
Florian Müllner [Wed, 21 Feb 2018 11:40:55 +0000 (12:40 +0100)]
tests: Fix a warning

Gjs now warns about excess parameters passed to functions, so don't
use Gtk.main_quit directly as signal callback.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Replace "for each" construct
Florian Müllner [Tue, 6 Feb 2018 22:25:29 +0000 (23:25 +0100)]
tests: Replace "for each" construct

It is no longer supported by recent mozjs versions, so replace it with
a regular for loop to unbreak the tests.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Avoid redeclarations with let
Florian Müllner [Tue, 6 Feb 2018 22:21:39 +0000 (23:21 +0100)]
tests: Avoid redeclarations with let

Mozjs made this error fatal a while ago, so those tests were broken
by gjs' JS engine updates.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agotests: Fix gnome-shell theme import
Florian Müllner [Wed, 21 Feb 2018 12:01:56 +0000 (13:01 +0100)]
tests: Fix gnome-shell theme import

The current import rule fails in two ways:
 - commit c62e7a6a moved the theme's stylesheet to the builddir
 - since commit 49c4ba56, assets are addressed as resource:// URIs

Fix both issues by loading and referencing the theme resource instead
of the stylesheet itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38

8 years agokeyboard: Fix a warning
Florian Müllner [Wed, 21 Feb 2018 12:09:48 +0000 (13:09 +0100)]
keyboard: Fix a warning

imports.misc.ibusManager.IBus is declared as const, so referencing it
from another module triggers a warning with recent mozjs. As of commit
083d11a0327 IBus is mandatory, so just make it a regular import to avoid
the warning.

8 years agoUpdate Serbian translation
Марко Костић [Wed, 21 Feb 2018 09:51:44 +0000 (09:51 +0000)]
Update Serbian translation

8 years agoRemove po/Makevars
Piotr Drąg [Tue, 20 Feb 2018 23:02:41 +0000 (00:02 +0100)]
Remove po/Makevars

Meson doesn’t use it, and Damned Lies learned to read po/meson.build.

8 years agologinDialog: only emit session-activated on user action
Ray Strode [Thu, 13 Nov 2014 14:26:52 +0000 (09:26 -0500)]
loginDialog: only emit session-activated on user action

Right now we emit session-activated any time the bullet
moves in the session menu. That includes at startup when
picking an item arbitrarily, and any time GDM reports the
session was read from the user's account settings.

session-activated informs GDM about the newly selected session,
so emitting it in response to GDM reporting a session is a
bad idea.

This commit changes the code to only emit session-activated when
the user explicitly activates a session item from the gear menu.

Note, we no longer set the active session explicitly at start up.
This is a good thing since the item we were picking wasn't
necessarily correct.  It does means if GDM fails to inform us
about the correct default session we'll now show no bullet instead
of a bullet on the wrong item.

https://bugzilla.gnome.org/show_bug.cgi?id=740142

8 years agogdm: use password authentication if all schemes are disabled
Ray Strode [Wed, 1 Jul 2015 15:18:44 +0000 (11:18 -0400)]
gdm: use password authentication if all schemes are disabled

This prevents a traceback, at least.

8 years agogdm: honor timed login delay even if animations disabled
Ray Strode [Tue, 18 Aug 2015 16:02:17 +0000 (12:02 -0400)]
gdm: honor timed login delay even if animations disabled

gnome-shell currently initiates an automatic login attempt if
timed login is enabled and the timed login animation completes.

Unfortunately, if animations are disabled (as is the case for
virtual machines) then the timed login animation will complete
instantly, and timed login will proceed immediately after gnome-shell
has noticed the user is idle for 5 seconds.

This commit addresses that problem by initiating timed login and the
animation from a main loop timeout, instead of using the tweener api.

8 years agobuild: Minor cleanups
Florian Müllner [Tue, 20 Feb 2018 09:24:24 +0000 (10:24 +0100)]
build: Minor cleanups

find_program() defaults to require the program in question, and as
failing to locate it is now fatal, there's no longer a need for
checking whether it was found later.

Spotted by Michael Catanzaro.

8 years agoUpdate Serbian Latin translation
Милош Поповић [Tue, 20 Feb 2018 10:02:15 +0000 (10:02 +0000)]
Update Serbian Latin translation

8 years agoUpdate Serbian translation
Борисав Живановић [Tue, 20 Feb 2018 10:01:08 +0000 (10:01 +0000)]
Update Serbian translation

8 years agotheme: use cantarell light
Jakub Steiner [Wed, 14 Feb 2018 15:42:56 +0000 (16:42 +0100)]
theme: use cantarell light

- lock screen
- date in the calendar popover

fixes issue #45

8 years agotheme: use cantarell light
Jakub Steiner [Wed, 14 Feb 2018 15:42:56 +0000 (16:42 +0100)]
theme: use cantarell light

- lock screen
- date in the calendar popover

fixes issue #45

8 years agoUpdate Friulian translation
Fabio Tomat [Mon, 19 Feb 2018 12:41:20 +0000 (12:41 +0000)]
Update Friulian translation